* {
    box-sizing: border-box;
    outline: 0;
    margin: 0;
    padding: 0;
}

.icon {
    width: 1em; height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
 }

.layout {
    max-width: 1320px;
    padding: 0 60px;
    margin: 0 auto;
}

body {
    font: 16px/1.4 "PingFang SC", "Microsoft YaHei", 'Arial';
}

header {
    padding: 20px 100px;
}

header a {
    display: flex;
    text-decoration: none;
    color: rgb(112, 192, 0);
    align-items: center;
}

header span {
    font-size: 30px;
    line-height: 60px;
    font-weight: 100;
}

.header-icon {
    font-size: 60px;
    margin-right: 10px;
    color: #6fbf00;
}

/* TopContainer */

#topContainer {
    display: flex;
}

#topSloganContainer {
    width: 470px;
    margin-right: 60px;
    padding-bottom: 30px;
}

#topSloganContainer h1 {
    margin-top: 140px;
    color: #343434;
    font-size: 46px;
    font-weight: 600;
}

#topSloganContainer p {
    color: rgba(0,0,0,.6);
    font-size: 24px;
    margin-top: 60px;
}

.topSlogan {
    margin-top: 0;
    color: #333;
    font-size: 50px;
}

#mainBtnContainer {
    margin-top: 80px;
    font-size: 0;
    padding-bottom: 95px;
}

#mainBtnContainer a {
    text-decoration: none;
    color: #70C000;
    transition: .25s;
}

#btnStart {
    width: 60%;
    color: #fff;
    background-color: #70C000;
    box-shadow: 0 10px 30px rgb(112 192 0 / 60%);
    transition: all .25s ease;
}

#btnExt {
    margin-left: 10px;
    width: calc(40% - 10px);
    border: 1px solid rgba(0,0,0,.1);
    color: #000;
    background-color: #fff;
    box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
}

.mainBtn {
    padding: 15px 5px;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 18px;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
    
}

#topContainer .rightItem {
    flex: 1;
    display: flex;
    align-items: center;
}

#topContainer .rightItem>img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.2);
}

/* intro */

#intro {
    background-color: rgb(245, 255, 245);
    padding: 60px 0;
}

.intro-func {
    text-align: center;
    font-size: 20px;
    color: lightgreen;
}

.intro-title  {
    text-align: center;
    font-size: 30px;
    margin-top: 30px;
}

.intro-detail  {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-top: 30px;
}

.panel-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.panel-container .panel {
    width: calc(33.3% - 16px);
    display: flex;
    background-color: #fff;
    padding: 10px;
    margin-top: 20px;
    margin-right: 16px;
    border-radius: 8px;;
} 

.intro-icon  {
    width: 30px;
    height: 30px;   
    color: lightgreen;
}

.panel-container .panel .text {
    flex: 1;
    margin-left: 10px;
}

.panel-container .panel .text p {
    margin-top: 10px;
    color: #666;
}

/* detail */

.detail {
    display: flex;
    padding-top: 60px;
    padding-bottom: 60px;
}

.detail .text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 60px;
}

.detail .img {
    width: 550px;
    display: flex;
    align-items: center;
}

.detail .img img {
    width: 100%;
    border-radius: 8px;
}

.detail .text h1 {
    font-size: 36px;
}

.detail .text p {
    font-size: 16px;
    color: #666;
    margin-top: 30px;
}

.detail:nth-child(even) .img {
    order: -1;
}

.detail:nth-child(even) .text {
    margin-left: 50px;
}

@media (max-width:1100px) {
    #topSloganContainer {
        width: 300px;
        margin-right: 40px;
        padding-bottom: 20px;
    }

    #topSloganContainer h1 {
        margin-top: 90px;
        font-size: 30px;
    }

    #topSloganContainer p {
        margin-top: 30px;
        font-size: 18px;
    }
}

@media (max-width:768px) {
    #topContainer {
      flex-direction: column;
    }
    #topSloganContainer h1 {
      margin-top: 60px;
      font-size: 30px;
    }
    .mainBtn {
      margin-top: 20px;
    }
    #topContainer .rightItem>img {
      margin-top: 30px;
    }

    #intro .panel {
      width: calc(50% - 16px);
    }

    section.detail {
      flex-direction: column;
    }
    section.detail .text {
      padding-bottom: 30px;
        align-items: center;
    }

    .detail:nth-child(even) .text {
        margin: 0;
        order: -1;
    }
  }